package com.xjg.domain;

import java.io.Serializable;

public class MessageInfo implements Serializable{
	private String type;//消息类型：im,push
	private String message;//消息内容 json格式
//	private String url;//图片或者文件地址  将url和rid放到message中
//	private String rid;//微简历ID
	private String from;
	private String to;
	private long sendDate;//发送时间
	
	public long getSendDate() {
		return sendDate;
	}
	public void setSendDate(long sendDate) {
		this.sendDate = sendDate;
	}
	public String getFrom() {
		return from;
	}
	public void setFrom(String from) {
		this.from = from;
	}
	public String getTo() {
		return to;
	}
	public void setTo(String to) {
		this.to = to;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("from:").append(from).append(" to:").append(to).append(" type:").append(type)
		.append(" message:").append(message);
		return sb.toString();
	}

	
}
